package com.wwcom.darteagle.model;

public class MatchPlayer {
	private Player player;
	private int numSets;
	private int numLegs;
	
	public MatchPlayer(Player player) {
		this.player= player;
		initialiseSelf();
	}
	
	private void initialiseSelf() {
		numSets= 0;
		numLegs= 0;
	}

	//Accessors
	public int getNumSets() {
		return numSets;
	}

	public void setNumSets(int numSets) {
		this.numSets = numSets;
	}

	public int incNumSets() {
		numSets++;
		return numSets;
	}

	public int getNumLegs() {
		return numLegs;
	}

	public void setNumLegs(int numLegs) {
		this.numLegs = numLegs;
	}

	public int incNumLegs() {
		numLegs++;
		return numLegs;
	}

	public Player getPlayer() {
		return player;
	}

	
	
	
}
